//
//  CoreDataHelper.h
//  OfficeBook
//
//  Created by 孙晓奇 on 15/9/29.
//  Copyright © 2015年 sunny. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CoreDataHelper : NSObject

@property (nonatomic, strong) NSManagedObjectContext *context;
@property (nonatomic, strong) NSString               *entityName;

+ (instancetype)sharedInstance;
-(NSManagedObject *)newObject;
-(BOOL)deleteObject:(NSManagedObject *)object;
+(BOOL)clearData;
-(BOOL)save;


@end
